﻿namespace dPet.Infrastructure.EntityFramework.ModelConfigurations
{
	using dPet.Domain.Models;
	using Hangerd.EntityFramework;

	public class ProductSubCategoryConfig : EntityTypeConfigBase<ProductSubCategory>
	{
		public ProductSubCategoryConfig()
		{
			Property(sc => sc.Name)
				.IsRequired()
				.HasMaxLength(20);
		}
	}
}
